package com.karson.common.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(name = "LoginAdminResponse", description = "用户登录返回数据")
public class LoginAdminResponse implements Serializable {



    @Schema(description = "用户登录密钥")
    private String token;

    @Schema(
            description = "状态: login-登录, register-注册, start-注册起始页",
            allowableValues = {"login", "register", "start"},
            example = "login"
    )
    private String type;

    @Schema(description = "登录id", example = "1001")
    private Integer id;

    @Schema(description = "登录用户昵称", example = "张三")
    private String realName;

    @Schema(description = "登录用户手机号", example = "13800138000")
    private String phone;

}